package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.WorkAddress;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.workaddress.WorkAddressAddReqDTO;
import com.yixin.hospital.entity.dto.req.workaddress.WorkAddressEditReqDTO;

/**
* @author wb-caifenghua
* @description 针对表【work_address(工作地点表)】的数据库操作Service
* @createDate 2024-03-22 14:35:04
*/
public interface WorkAddressService extends IService<WorkAddress> {

    ApiResult allList();

    ApiResult add(WorkAddressAddReqDTO workAddressAddReqDTO, String userName);

    ApiResult edit(WorkAddressEditReqDTO workAddressEditReqDTO, String userName);
}
